<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>HTML+CSS实现拟物开关</title>
    <link rel="stylesheet" href="./style/index.css">
</head>
<body>
    <div class="box">
        <div class="switch-con">
            <div class="switch"></div>
        </div>
    </div>
</body>
</html>